

import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'
import Api from './utils/api' //请求

import vant from "vant" //1.引入vant
import 'vant/lib/index.css'; //2。引入vant样式
const app = createApp(App)

app.config.globalProperties.$api = Api
app.use(createPinia())
app.use(router)
app.use(vant)
app.mount('#app')
